import { createRouter, createWebHashHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import MyInfo from '@/views/MyInfo'
const routes = [
  {
    path: '/',
    name: 'home',
    component: HomeView,
    children:[ {
      path: '/myinfo',
      name: 'MyInfo',
      component: MyInfo
     }]
  },
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
